package com.example.demo.mapper;

import com.example.demo.bean.Sales;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * @author jie
 * @date 2019/7/29 -9:37
 */
@Mapper
public interface SalesMapper {
    @Select("SELECT * FROM `sales`")
    List<Sales> getAllSales();
}
